export default () => {
  const courseTypeFn = (type) => {
    let val = ''
    switch (type) {
      case 1:
        val = '初级'
        break
      case 2:
        val = '中级'
        break
      case 3:
        val = '高级'
        break
    }
    return val
  }
  return {
    courseTypeFn,
  }
}
